package com.ant.collect.service;

import com.ant.collect.dto.CollectionYearDto;
import com.ant.collect.dto.ExportDto;
import com.ant.collect.dto.ProductDto;
import com.ant.collect.pojo.CollectionYear;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hzd
 * @since 2025-10-25
 */
public interface ICollectionYearService extends IService<CollectionYear> {

    CollectionYear saveCollectionYear(CollectionYearDto dto);

    List<CollectionYear> listById(Integer id);

    PageInfo<CollectionYear> listPage(ProductDto dto);

    CollectionYear findProductDetails(Integer id);

    void export(ExportDto dto);
}
